package com.pacvue.entity;

import java.util.UUID;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class RequestLog {

    private String timestamp;

    private String index;

    private String ip;

    private String url;

    private String method;

    private String requestParams;

    private String requestHeaders;

    private String statusCode;

    private String responseHeaders;

    private String responseBody;

    private String exception;

    public Integer timeElapsed;

    private String traceId = UUID.randomUUID().toString().replace("-", "");

    private Integer traceDepth = 0;

}
